package com.ling.sdk.ui

import android.view.View
import android.widget.Button
import android.widget.TextView

interface ITitle {
    fun getView(): View

    fun showTitle(s: String): ITitle

    fun showBackButton(listener: View.OnClickListener): ITitle

    fun showBackButton(res: Int, listener: View.OnClickListener): ITitle

    fun showBackButton(s: String, listener: View.OnClickListener): ITitle

    fun changeHeadBackground(resId: Int): ITitle

    fun setTitleColor(color: Int): ITitle

    fun getHeadRightButton(): Button

    fun getHeadTitle(): TextView

    fun showHeadRightImageButton(resId: Int, listener: View.OnClickListener): ITitle

    fun hideHeadLine():ITitle


}